local function main (userOb, msgData)
    if not msgData.type then
        return
    end

    local result = {}
    if msgData.type ==1000 then
        result.Props = userOb:get_props()
    elseif msgData.type ==2000 then
        result.Props = EQUIP_D:build_equip_info(userOb)
    elseif msgData.type ==3000 then
        local item = {}
        for _, itemval in pairs(userOb:get_all_partners()) do
            local item_list = {}
            item_list["id"] = itemval.id
            item_list["advanced_level"] = itemval.advanced_level
            item_list["level"] = itemval.level
            item[#item + 1] = item_list
        end
        result.Props = item
    end
    userOb:send_packet("MSGS2CGetScene", result)
end

--注册方法
COMMAND_D:register_command("MSGC2SGetScene",GameCmdType.NONE, main)
